﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using __ts.Core.Channel;

namespace __ts.GCCP
{
    public partial class Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            //CCUChannel.Create<server.test_1_0_0.Contract>("127.0.0.1", "12346", proxy =>
            //{
            //    Response.Write(proxy.HelloWorld());
            //});

            //Response.Write("<br/><br/><br/>");

            CCUChannel.Create<server.update_1_0_0.Contract>("127.0.0.1", "12345", proxy =>
            {
                proxy.update(Guid.NewGuid().ToString(), new string[]{
                    "test_1_0_0","server.test_4_0_0"
                });
            });
        }
    }
}